<!DOCTYPE html>
<html>
<head>
	<title>Savegame Editor &ndash; Hyrule Warriors</title>
	<meta http-equiv="content-Type" content="text/html; charset=UTF-8"/>
	<meta name="description" content="A savegame editor for Hyrule Warriors. It can edit values for your apple and materials."/>
	<meta name="keywords" content="html5, savegame, save, editor, hack, exploit, wii u, hyrule warriors, materials, experience, weapons"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
	<link rel="shortcut icon" href="favicon.png"/>
	<link type="text/css" rel="stylesheet" href="../savegame-editor.css" media="all"/>
	<script type="text/javascript" src="../savegame-editor.js"></script>
	<script type="text/javascript" src="./hyrule-warriors.js"></script>
	<script type="text/javascript"><!--
		/* service worker */
		var FORCE_HTTPS=true;
		window.addEventListener('load',function(){
			if(location.protocol==='http:' && FORCE_HTTPS)
				location.replace(window.location.href.replace('http:','https:'));
			else if(location.protocol==='https:' && 'serviceWorker' in navigator)
				navigator.serviceWorker.register('/savegame-editors/hyrule-warriors/_cache_service_worker.js', {scope: '/savegame-editors/hyrule-warriors/'});
		}, false);
	--></script>
</head>
<body>

<!-- HEADER -->
<div id="header">
	<div id="header-top">
		<div class="row wrapper">
			<h1 class="six columns text-left"><img src="favicon.png" /> Savegame Editor <small>for Hyrule Warriors</small></h1>
			<div class="six columns header-buttons text-right">
				by <a href="/">Marc Robledo</a>
				<i class="icon github"></i> <a href="https://github.com/marcrobledo/savegame-editors/tree/master/hyrule-warriors" target="_blank">See on GitHub</a>
				<i class="icon heart"></i> <a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow">Donate</a>
			</div>
		</div>
		<div class="hidden row wrapper" id="toolbar">
			<div class="twelve columns text-center">
				<button class="close" onclick="closeFile()"><i class="icon close"></i> Close file</button>
				<button class="colored" onclick="saveChanges()"><i class="icon accept"></i> Save changes</button>
			</div>
		</div>
	</div>
</div>


<!-- THE EDITOR -->
<div id="the-editor" class="wrapper hidden">
	<!-- MATERIALS -->
	<h3 class="orange">Materials</h3>
	<div class="container">
		<div class="row" id="row-materials">
			<div class="three columns"><label for="number-rupees">Rupees</label></div>
			<div class="one columns"><input id="number-rupees" type="text" /></div>
		</div>
		<div class="text-center">
			<button class="button" id="button-discover-materials" onclick="SavegameEditor.discoverMaterials()">Discover all materials</button>
		</div>
	</div>


	<!-- CHARACTERS -->
	<h3 class="red">Characters</h3>
	<div class="container">
		<div class="row" id="row-characters">
			<div class="three columns">&nbsp;</div>
			<div class="three columns">Damage</div>
			<div class="three columns">Level</div>
			<div class="three columns">Experience</div>
		</div>
	</div>

	<!-- MAPS -->
	<h3 class="green">Maps</h3>
	<div class="container">
		<label for="select-map">Map</label> <span id="container-select-map"></span>
		<hr/>
		<div id="maps"></div>
	</div>

	<!-- WEAPONS -->
	<h3 class="blue">Weapons</h3>
	<div class="container">
		<label for="select-weapon">Weapon slot</label>
		<span id="container-select-weapon"></span>
		<span class="bg-dark-gray round" style="padding: 3px 12px">Approximate power: <span id="span-weapon-power"></span></span>
		<hr/>
		<div class="row">
			<div class="three columns">Weapon type</div><div class="three columns" id="container-weapon-type"></div>
			<div class="three columns">Weapon ID</div><div class="three columns" id="container-weapon-id"></div>
			<div class="three columns">Base Power</div><div class="three columns" id="container-weapon-base-power"></div>
			<div class="three columns">Stars</div><div class="three columns" id="container-weapon-stars"></div>
		</div>
		<hr/>
		<div id="weapons-skills-container"></div>
	</div>
</div>

</body>
</html>
